<div class="form-group">
    <label>开始时间：</label>
    <div class="input-group">
        <datetime [datepicker]="false" [(ngModel)]="starttime" name='starttime' (ngModelChange)="start($event)" [timepicker]="timepickerToOpts" ></datetime>  
    </div>
  </div>
<div class="form-group">
  <label>结束时间：</label>
  <div class="input-group">
      <datetime [datepicker]="false" [(ngModel)]="endtime" name='endtime' (ngModelChange)="end($event)" [timepicker]="timepickerToOpts" ></datetime>  
  </div>
</div>